﻿#include "Window.h"
#include "main.h"


int APIENTRY wWinMain(
    _In_ HINSTANCE, 
    _In_opt_ HINSTANCE,
    _In_ LPWSTR,
    _In_ int)
{
    Window wnd(300, 600, "Donkey Fart Box");
    Window wnd1(600, 300, "Donkey Fart Box");

    MSG msg{ 0 };
    BOOL gResult;
    while ((gResult = GetMessage(&msg, nullptr, 0, 0)) > 0){
        TranslateMessage(&msg);
        DispatchMessage(&msg);
    }

    if(gResult == -1)
        return -1;
 
    return (int) msg.wParam;
}
